import vue from '@vitejs/plugin-vue';
import { defineConfig } from 'vite';

// https://vitejs.dev/config/
export default defineConfig({
	base: './',
	plugins: [vue()],
	build: {
		rollupOptions: {
			input: {
				main: 'index.html',
				detail: 'detail.html',
				agreement: 'agreement.html',
				signing: 'signing.html'
			}
		}
	},
	css: {
		preprocessorOptions: {
			less: {
				additionalData: `@import "./src/assets/styles/variables.less";`
			}
		}
	}
});
